<html>
<head><meta charset="utf-8"><title>Implement Error for &amp;(impl Error) crate fixes · project-error-handling · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/index.html">project-error-handling</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html">Implement Error for &amp;(impl Error) crate fixes</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="222422757"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222422757" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222422757">(Jan 12 2021 at 12:20)</a>:</h4>
<p>I am currently fixing the crates that broke due to <a href="https://github.com/rust-lang/rust/issues/75180">#75180</a> and have stumbled upon some small issues. For example crate <code>neptungen</code> fails with linker errors when I fix the errors introduced by this PR</p>



<a name="222422770"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222422770" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222422770">(Jan 12 2021 at 12:21)</a>:</h4>
<div class="codehilite"><pre><span></span><code>         /usr/bin/ld: /mnt/games/Projects/OpenSourceFixes/rust_pr_75180/neptungen/target/debug/deps/libmd6-438a994c8a2766cb.rlib(md6_compress.o):/home/jduchniewicz/.cargo/registry/src/github.com-1ecc6299db9ec823/md6-1.1.1/ext/md6/md6.h:425: multiple definition of `compression_hook&#39;; /mnt/games/Projects/OpenSourceFixes/rust_pr_75180/neptungen/target/debug/deps/libmd6-438a994c8a2766cb.rlib(md6_nist.o):/home/jduchniewicz/.cargo/registry/src/github.com-1ecc6299db9ec823/md6-1.1.1/ext/md6/md6.h:425: first defined here
          collect2: error: ld returned 1 exit status
</code></pre></div>



<a name="222422944"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222422944" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222422944">(Jan 12 2021 at 12:22)</a>:</h4>
<p>It seems like I am getting the same symbol twice (once due to my custom toolchain and once due to regular one?)</p>



<a name="222423487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222423487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222423487">(Jan 12 2021 at 12:29)</a>:</h4>
<p>Besides, I try to wrap my head around as to WHY does removing <code>as_ref()</code> causes this to work with the implementation introduced by this PR</p>



<a name="222423613"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222423613" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222423613">(Jan 12 2021 at 12:30)</a>:</h4>
<div class="codehilite"><pre><span></span><code>[INFO] [stdout] error[E0283]: type annotations needed for `std::string::String`
[INFO] [stdout]    --&gt; src/sync.rs:282:76
[INFO] [stdout]     |
[INFO] [stdout] 282 |                         format!(&quot;Error during ftp put operation: {:?}&quot;, e).as_ref(),
[INFO] [stdout]     |                         -------------------------------------------------- ^^^^^^ cannot infer type for struct `std::string::String`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         consider giving `res` a type
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `std::string::String: std::convert::AsRef&lt;_&gt;`
</code></pre></div>



<a name="222423995"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222423995" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222423995">(Jan 12 2021 at 12:35)</a>:</h4>
<p>I guess I still know too little about the library <span aria-label="slight frown" class="emoji emoji-1f641" role="img" title="slight frown">:slight_frown:</span></p>



<a name="222425338"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222425338" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222425338">(Jan 12 2021 at 12:50)</a>:</h4>
<p>As for other breakage:<br>
chainerror - fixed, PR waiting for merge<br>
neptungen - weird error<br>
mars-discovery is a no-star repo without any forks<br>
c_string - no longer maintained<br>
sv - not sure how to fix this error to be honest (again too brisk knowledge of the library yet)</p>



<a name="222425355"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222425355" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222425355">(Jan 12 2021 at 12:50)</a>:</h4>
<p>eyre and strerror I have not yet tried</p>



<a name="222425958"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222425958" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222425958">(Jan 12 2021 at 12:57)</a>:</h4>
<p>You can leave eyre to me</p>



<a name="222426017"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222426017" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222426017">(Jan 12 2021 at 12:57)</a>:</h4>
<p>And I'll get back to u once I've woken up about the as_ref stuff</p>



<a name="222426041"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222426041" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222426041">(Jan 12 2021 at 12:57)</a>:</h4>
<p>_passes back out_</p>



<a name="222483046"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222483046" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222483046">(Jan 12 2021 at 19:35)</a>:</h4>
<p>okay im back</p>



<a name="222483303"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222483303" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222483303">(Jan 12 2021 at 19:37)</a>:</h4>
<p><span class="user-mention silent" data-user-id="344196">Jakub Duchniewicz</span> <a href="#narrow/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes/near/222423613">said</a>:</p>
<blockquote>
<p><div class="codehilite"><pre><span></span><code>[INFO] [stdout] error[E0283]: type annotations needed for `std::string::String`
[INFO] [stdout]    --&gt; src/sync.rs:282:76
[INFO] [stdout]     |
[INFO] [stdout] 282 |                         format!(&quot;Error during ftp put operation: {:?}&quot;, e).as_ref(),
[INFO] [stdout]     |                         -------------------------------------------------- ^^^^^^ cannot infer type for struct `std::string::String`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         consider giving `res` a type
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `std::string::String: std::convert::AsRef&lt;_&gt;`
</code></pre></div><br>
</p>
</blockquote>
<p>Where is this error from?</p>



<a name="222483393"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222483393" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222483393">(Jan 12 2021 at 19:37)</a>:</h4>
<p><span class="user-mention silent" data-user-id="344196">Jakub Duchniewicz</span> <a href="#narrow/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes/near/222422757">said</a>:</p>
<blockquote>
<p>I am currently fixing the crates that broke due to <a href="https://github.com/rust-lang/rust/issues/75180">#75180</a> and have stumbled upon some small issues. For example crate <code>neptungen</code> fails with linker errors when I fix the errors introduced by this PR</p>
</blockquote>
<p>Not sure, you could try using <code>cargo tree -d</code> to see if you've ended up with any duplicate dependencies</p>



<a name="222483403"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222483403" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222483403">(Jan 12 2021 at 19:37)</a>:</h4>
<p>that's my best bet as to why the symbol would be found twice</p>



<a name="222555679"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222555679" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222555679">(Jan 13 2021 at 09:40)</a>:</h4>
<p><span class="user-mention silent" data-user-id="220273">Jane Lusby</span> <a href="#narrow/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes/near/222483303">said</a>:</p>
<blockquote>
<p><span class="user-mention silent" data-user-id="344196">Jakub Duchniewicz</span> <a href="#narrow/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes/near/222423613">said</a>:</p>
<blockquote>
<p><div class="codehilite"><pre><span></span><code>[INFO] [stdout] error[E0283]: type annotations needed for `std::string::String`
[INFO] [stdout]    --&gt; src/sync.rs:282:76
[INFO] [stdout]     |
[INFO] [stdout] 282 |                         format!(&quot;Error during ftp put operation: {:?}&quot;, e).as_ref(),
[INFO] [stdout]     |                         -------------------------------------------------- ^^^^^^ cannot infer type for struct `std::string::String`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         consider giving `res` a type
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `std::string::String: std::convert::AsRef&lt;_&gt;`
</code></pre></div><br>
</p>
</blockquote>
<p>Where is this error from?</p>
</blockquote>
<p>this is from the rust-sv library and matches on String stored in self</p>
<div class="codehilite"><pre><span></span><code>            Message::Other(s) =&gt; Err(io::Error::new(io::ErrorKind::InvalidData, s.as_ref())),
</code></pre></div>



<a name="222555724"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222555724" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222555724">(Jan 13 2021 at 09:41)</a>:</h4>
<p>oh and returns io::Result&lt;()&gt;</p>



<a name="222555877"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222555877" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222555877">(Jan 13 2021 at 09:42)</a>:</h4>
<p>so I guess there is some ownership problem involved as we cannot move out of self the String contained within</p>



<a name="222640498"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640498" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640498">(Jan 13 2021 at 20:26)</a>:</h4>
<p>not sure</p>



<a name="222640514"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640514" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640514">(Jan 13 2021 at 20:27)</a>:</h4>
<p>let me checkout the rust-sv library and see what you mean</p>



<a name="222640559"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640559" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640559">(Jan 13 2021 at 20:27)</a>:</h4>
<p>it is probably something quite simple <span aria-label="grimacing" class="emoji emoji-1f62c" role="img" title="grimacing">:grimacing:</span></p>



<a name="222640691"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640691" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640691">(Jan 13 2021 at 20:28)</a>:</h4>
<p><span class="user-mention" data-user-id="344196">@Jakub Duchniewicz</span> are you using the current nightly to get these errors or did you have to compile a custom toolchain?</p>



<a name="222640720"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640720" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640720">(Jan 13 2021 at 20:28)</a>:</h4>
<p>im assuming nightly because I think I recall this change already landed</p>



<a name="222640765"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640765" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640765">(Jan 13 2021 at 20:29)</a>:</h4>
<p>hmm it's this change</p>



<a name="222640768"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640768" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640768">(Jan 13 2021 at 20:29)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/75180">https://github.com/rust-lang/rust/pull/75180</a></p>



<a name="222640785"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640785" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640785">(Jan 13 2021 at 20:29)</a>:</h4>
<p>oh it didnt land</p>



<a name="222640789"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640789" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640789">(Jan 13 2021 at 20:29)</a>:</h4>
<p>It is still open</p>



<a name="222640790"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640790" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640790">(Jan 13 2021 at 20:29)</a>:</h4>
<p>lol darn</p>



<a name="222640797"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640797" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640797">(Jan 13 2021 at 20:29)</a>:</h4>
<p>so I have to compile rustc</p>



<a name="222640803"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222640803" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222640803">(Jan 13 2021 at 20:29)</a>:</h4>
<p>alright</p>



<a name="222658890"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222658890" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222658890">(Jan 13 2021 at 22:55)</a>:</h4>
<p><span class="user-mention" data-user-id="344196">@Jakub Duchniewicz</span> Ah I think that error with <code>as_ref</code> is inference failing now that there are more ways to make a <code>String</code> satisfy the <code>impl Into&lt;Box&lt;dyn Error + Send + Sync + ‘static&gt;&gt;</code> bound that <code>io::Error::new</code> wants. I’ll check it out when I’m back in front of a machine 🙂</p>



<a name="222687602"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Implement%20Error%20for%20%26%28impl%20Error%29%20crate%20fixes/near/222687602" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Implement.20Error.20for.20.26(impl.20Error).20crate.20fixes.html#222687602">(Jan 14 2021 at 07:53)</a>:</h4>
<p>Right, so I should do explicit calls using the the turbofish syntax right?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>